﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ControlLogin.ascx.cs" Inherits="ControlLogin" %>

    
    <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
        <asp:View ID="View1" runat="server">
        <table border="0" cellpadding="2" cellspacing="0" width="100%">
            <tr>
                <td>
                    Tên đăng nhập:</td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtUserID" runat="server" Width="100%"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                    Mật khẩu:</td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtPassword" TextMode="Password" runat="server" Width="100%"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="left">
                    &nbsp;<asp:Button ID="btnSignIn" runat="server" Text="Đăng nhập" class="BGButton"
                        OnClick="btnSignIn_Click" 
                        Height="25px" Width="89px" /></td>
            </tr>
            <tr>
                <td align=right>
                    <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/SignUp.aspx">Đăng Ký</asp:HyperLink></td>
            </tr>
            <tr>
                <td>
                    <a href=""><span style="color: #000000"></span></a></td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>
        </table>
        </asp:View>
        <asp:View ID="View2" runat="server">
        <table border="0" cellpadding="2" cellspacing="0" width="100%">
            <tr>
                <th>
                    <asp:Image ID="Image1" runat="server" BorderStyle="Inset" BorderWidth="1px" Height="120px"
                        Width="100px" /><br />
                    <asp:Label ID="lblHoTen" runat="server" Text="Label"></asp:Label></th>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lblEmail" runat="server" Text="Label"></asp:Label>
                </th>
            </tr>
                        <tr>
                <th>
                    <asp:HyperLink ID="HyperLink5" runat="server" 
                        NavigateUrl="~/PurchaseHistory.aspx">Xem lịch sử mua hàng</asp:HyperLink>
                </th>
            </tr>
            <tr>
                <td align="center">
                    <asp:HyperLink ID="HyperLink2" runat="server" 
                        NavigateUrl="~/MyEbook.aspx">Ebook Của Tôi</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td align="center">
                    [<asp:LinkButton ID="lnkSignOut" runat="server" OnClick="lnkSignOut_Click">Thoát</asp:LinkButton>]
                    [<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/MyAccount.aspx">Cập Nhật</asp:HyperLink>] 
                </td>
            </tr>
        </table>
        </asp:View>
    </asp:MultiView>
